require("babel-runtime/regenerator");
// require("webpack-hot-middleware/client?reload=true");
require("../css/main.css");
require("../index.html");
require("./basic");
require("./loading").wxloading();
require("./orientation").orientationTips();
var scenesloading = require("./scenesloading");
scenesloading.scenesloading();
require("./popup");






//控制场景的显示和隐藏
export function showpages(str){
    $('.page').hide();
    $('#'+str).show();
    scenesloading.scenesloadingHide();
}


(function doitnow(){
    $('#test-showpage').on('click', function(){
        scenesloading.scenesloadingShow();
        showpages('index2');
    });
})()


